.design_height {
    height: calc(100vh - 105px);
    overflow: hidden;
    overflow-y: auto;
}

#mainContainer {
    height: calc(100vh - 138px);
    background-color: rgb(255, 255, 255);
    border: 1px dashed rgb(153, 153, 153);
    overflow-y: auto;
    padding: 10px;
    margin: auto;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f6f6f6;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 2px;
}

.design-con {
    display: flex;
}

.design-left {
    width: 300px;
    overflow: hidden;
    position: relative;
    height: calc(100vh - 51px);
}

.design-center {
    flex: 1;
    border-left: 1px solid #f6f6f6;
    border-right: 1px solid #f6f6f6;
    height: calc(100vh - 51px);
    overflow: hidden;
    position: relative;
}


.design-center .design_button {
    position: absolute;
    top: 8px;
    right: 10px;
}

.design-center .design_button ul {
    display: flex;
    align-items: center;
}

.design-center .design_button ul li {
    height: 30px;
    line-height: 30px;
    margin-left: 10px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition-duration: .25s, 1s;
    border: 1px solid #fff;
}

.design-center .design_button .design_button_2 {
    background: #fff;
    border: 1px solid #eee;
}

.design-center .design_button .design_button_2 i {
    padding-right: 5px;
}

.design-center .design_button ul li.on, .design-center .design_button ul li:hover {
    color: #fff;
    background: var(--theme_color);
    border: 1px solid var(--theme_color);
}


.design-right {
    width: 300px;
    height: calc(100vh - 51px);
    overflow: hidden;
    position: relative;
}

.design-right .design-right-con {
    padding-right: 10px;
    padding-left: 10px;
}

.components-list {
    padding: 8px 0;
    width: 100%;
}

.components-list .widget-cate {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
}

.components-list ul {
    position: relative;
    overflow: hidden;
    padding: 0 10px 10px;
    margin: 0;
}

.components-list .form-edit-widget-label {
    font-size: 12px;
    display: block;
    width: 31%;
    line-height: 26px;
    position: relative;
    float: left;
    left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 1%;
    background: #fff;
    transition-duration: .25s, 1s;
    border-radius: 5px;
}

.components-list .form-edit-widget-label a {
    text-align: center;
    padding: 5px;
}

.components-list .form-edit-widget-label i, .components-list .form-edit-widget-label span {
    display: block;
}

.components-list .form-edit-widget-label:hover {
    background: var(--theme_color);
}

.components-list .form-edit-widget-label:hover a {
    color: #ffffff;
}

.components-list .form-edit-widget-label > a {
    display: block;
    cursor: move;
    color: #000
}

.components-list .form-edit-widget-label > a .icon {
    margin-right: 6px;
    margin-left: 8px;
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
}

.components-list .form-edit-widget-label > a span {
    display: inline-block;
    vertical-align: middle;
}

.ays-ctrl, .widget-view-ctrl-action {
    padding: 10px;
    transition-duration: .25s, 1s;
    z-index: 1;
}

.widget-view-ctrl-action {

    z-index: 2;
}

.widget-view-drag {
    position: absolute;
    right: -2px;
    bottom: -14px;
    width: 28px;
    text-align: center;
    height: 28px;
    line-height: 28px;
    background: #2d8cf0;
    z-index:100;
    cursor: move;
    border-radius: 50%;
    color: #fff;
}

.widget-view-ctrl-action {
    position: relative;
    background: #b3d8ff;

}

.widget-view-action {
    position: absolute;
    right: 33px;
    bottom: -14px;
    z-index:100;
    color: #fff;
}

.widget-view-action div {
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

.widget-view-action .delete {
    background: #f56c6c;
    position: absolute;
    right: 0px;
    top: -28px
}

.widget-view-action .copy {
    background: #557ca0;
    position: absolute;
    right: 35px;
    top: -28px
}


.ays-ctrl:hover {

    background: #ecf5ff;

}

.design-center .j-fixed-grid-design {
    min-height: 50px;
    border: 1px dashed #ccc;
    background: #f1f1f1;
    height: auto;
    position: relative;
    z-index: 2;
}


.design-center .ruinuo_yes_none {
    display: block !important;
}

.design-title {
    font-size: 14px;
    font-weight: bold;
    height: 45px;
    line-height: 45px;
    border-bottom: 1px solid #eee;
    padding-left: 12px;
    color: var(--theme_color);
}

.drag_p {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 99;
    left: 0px;
    top: 0px;
}

#mainContainer .layui-slider-wrap {
    z-index: 0 !important;
}

#mainContainer .input_position {
    z-index: 0 !important;
}

#mainContainer .layui-tab {
    z-index: 2 !important;
    position: relative;
}

.design-tab {
    margin-top: 0px !important;
}

.design-tab .layui-this {
    font-weight: bold;
}

.design-tab .layui-tab-title {
    height: 45px !important;
}

.design-tab .layui-tab-title .layui-this:after {
    height: 45px !important;
}

.design-tab .layui-tab-title li {
    line-height: 45px !important;
}


.tag_name {
    position: absolute;
    cursor: pointer;
    z-index: 100;
    left: 0px;
    top: 0px;
    text-align: left;
    color: var(--theme_color);
    font-size: 12px;
}
.design_head {
    width: 100%;
    height: 50px;
    overflow: hidden;
    line-height: 50px;
    border-bottom: 1px solid #eee
}

.design_head .title {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 18px;

}

.design_head .menu {
    text-align: center
}

.design_head .menu li {
    text-align: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    line-height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    transition-duration: .25s, 1s;
}

.design_head .menu li.on, .design_head .menu li:hover {
    background: var(--theme_color);
    color: #fff;

}

.design_head .menu li i {
    padding-right: 5px;
    font-size: 20px;
}





